home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / CIncludes / OSAComp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-17  |  1.7 KB  |  88 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        OSAComp.h
  3.  
  4.      Contains:    AppleScript Component Implementor's Interfaces.
  5.  
  6.      Version:    Technology:    AppleScript 1.1
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1992-1995, 1997-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. #ifndef __OSACOMP__
  18. #define __OSACOMP__
  19.  
  20. #ifndef __MACTYPES__
  21. #include <MacTypes.h>
  22. #endif
  23. #ifndef __AEDATAMODEL__
  24. #include <AEDataModel.h>
  25. #endif
  26.  
  27.  
  28.  
  29. #if PRAGMA_ONCE
  30. #pragma once
  31. #endif
  32.  
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif
  36.  
  37. #if PRAGMA_IMPORT
  38. #pragma import on
  39. #endif
  40.  
  41. #if PRAGMA_STRUCT_ALIGN
  42.     #pragma options align=mac68k
  43. #elif PRAGMA_STRUCT_PACKPUSH
  44.     #pragma pack(push, 2)
  45. #elif PRAGMA_STRUCT_PACK
  46.     #pragma pack(2)
  47. #endif
  48.  
  49. /**************************************************************************
  50.     Types and Constants
  51. **************************************************************************/
  52. /**************************************************************************
  53.     Routines for Associating a Storage Type with a Script Data Handle 
  54. **************************************************************************/
  55. EXTERN_API( OSErr )
  56. OSAGetStorageType                (Handle                 scriptData,
  57.                                  DescType *                dscType);
  58.  
  59. EXTERN_API( OSErr )
  60. OSAAddStorageType                (Handle                 scriptData,
  61.                                  DescType                 dscType);
  62.  
  63. EXTERN_API( OSErr )
  64. OSARemoveStorageType            (Handle                 scriptData);
  65.  
  66.  
  67.  
  68. #if PRAGMA_STRUCT_ALIGN
  69.     #pragma options align=reset
  70. #elif PRAGMA_STRUCT_PACKPUSH
  71.     #pragma pack(pop)
  72. #elif PRAGMA_STRUCT_PACK
  73.     #pragma pack()
  74. #endif
  75.  
  76. #ifdef PRAGMA_IMPORT_OFF
  77. #pragma import off
  78. #elif PRAGMA_IMPORT
  79. #pragma import reset
  80. #endif
  81.  
  82. #ifdef __cplusplus
  83. }
  84. #endif
  85.  
  86. #endif /* __OSACOMP__ */
  87.  
  88.